﻿

.assertionBox.focusedNode {
    width: 460px;
    height: auto;
    min-height: 220px;
    z-index: 10;
}

.assertionBox.focusedNode.nPublished {
    height: 100px;
    min-height: initial;
}

a.nodeAction {
    float: right;
    margin-right: 5px;
}


.focusedNode .assertionTitle {
    font-weight: bold;
}

.assertionBox {

    width:220px;
    height:45px;

    position:absolute;

    border:solid #AAA 1px;
    border-right-color:black;
    border-bottom-color:black;
    border-radius:3px;
    padding: 0;
    background-color:#E7E7E7;
    box-shadow: 4px 4px 8px #000000, inset 1px 1px 1px #A0CCF5, inset -1px -1px 2px #8a8a8a;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), inset 1px 1px 1px #A0CCF5, inset -1px -1px 2px #8a8a8a;
    cursor:auto;
    margin-right: 30px;
    margin-bottom: 15px;
    z-index: 1;

    -moz-user-select: initial;
    -webkit-user-select: auto;
    -o-user-select: auto;
    -ms-user-select: initial;
    user-select: initial;

    /*overflow: hidden;*/
}

.assertionLink {
    padding-left: 0;
    padding-right: 0;
}

.assertionTitle {
    margin-left: 2px;
    margin-right: 2px;
}

.assertionBox.expanded .assertionTitle {
    font-size:1.2em;
    background-color:white;
    margin-left:18px;
    border-bottom-left-radius:6px;
}

.assertionContent {
    margin-left: 5px;
    margin-right: 5px;
}

.assertionBox p {
    margin-top:0;
}

.corner-button {
    float:left;
    margin: 0 3px 0 0;
}

.corner-button.ui-button-icon-only {
    width: inherit;
    padding: 2px;
}

.assertionWrap {
    padding-top: 3px;
    padding-left: 3px;
    padding-bottom: 3px;
    height: 100%;
    overflow: hidden;
}

.argumentCanvas, #animationCanvas {
    position: absolute;
}

.argumentContainer {
    height: 400px;
    border:solid black 1px;
    overflow: hidden;
    box-shadow: 0 0 50px #000;
    background: url('/Content/wild_oliva.png');
}

@media only screen and (max-height: 768px) {
    .argumentContainer {
        height: 250px;
    }
}

.argumentDiv {
    position: relative;
    cursor: move;
    background: url('/Content/wild_oliva.png');
}

.argumentDiv:active, .argumentDiv:focus {
    cursor: move;
}

.titlebox {

    padding: 5px 15px;
    font-size: 1.5em;
    font-weight: bold;
    color: black;
}


#argumentResizeWrap .ui-resizable-s {
    height: 8px;
    background-color: rgb(42, 42, 42);
}

#quick, #Source, ul.ui-autocomplete {
    box-shadow: #808080 5px 5px 10px;
}

#form-wrapper {
    margin-left: 20px;
}



.ui-widget-content {
    background: #efefef;
}

#createTypes {
    display: inline-block;
    background-color: rgb(240, 240, 240);
    -webkit-box-shadow: 0 2px 10px rgb(226, 226, 226);
    box-shadow: 0 2px 10px rgb(226, 226, 226);
    border-radius: 5px;
    padding-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

#createTypes input {
    z-index: 1;
}

#createTypes label {
    position: relative;
    left: -10px;
    padding-left: 8px;
    margin-right: 15px;
}

#create-label {
    display: inline-block;
    font-size: 1.6em;
    margin-right: 10px;
    font-family: serif;
    font-style: italic;
    color: rgb(83, 83, 83);
}

#Title {
    width: 500px;
    margin-top: 15px;
}

/*.wmd-button-lookalike {
    height: 20px;
    margin-left: 2px;
    margin-right: 3px;
    display: inline-block;
    float: right;
    cursor: pointer;
    box-shadow: 0px 0px 30px white;
    border: solid 3px white;
    background-color: white;
    color: black;
}*/



.wmd-button-lookalike:hover {
    background-color: #a0c2f5;
}

.wmd-button-lookalike {
    height: 20px;
    display: inline-block;
    float: right;
    background-color: white;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    border: solid 3px white;
    cursor: pointer;
    margin-right: 3px;
    margin-left: 5px;
}

#sourceTag {
    background-color: white;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid rgb(204, 204, 204);
    
}

#sourceTitle {
    float: left;
    margin: 3px;
}

#sourceTag a {
    display: inline-block;
    height: 25px;
    float: left;
}

#sourceTag a span {
    margin: 5px;
}

.colorBox {
    width: 3%;
    height: 40px;
    float: right;
    margin-right: 1px;
}

.focusedNode .colorBox {
    height: 200px;
}

.focusedNode.nPublished .colorBox {
    height: 100px;
}

.colorStripe {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    height: 100%;
}

.nType1 .colorStripe{
    background: -moz-linear-gradient(top, rgba(154, 188, 220, 1) 0%, rgba(154, 188, 220, 0) 90%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(154, 188, 220, 1)), color-stop(90%,rgba(154, 188, 220, 0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(154, 188, 220, 1) 0%,rgba(154, 188, 220, 0) 90%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(154, 188, 220, 1) 0%,rgba(154, 188, 220, 0) 90%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(154, 188, 220, 1) 0%,rgba(154, 188, 220, 0) 90%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(154, 188, 220, 1) 0%,rgba(154, 188, 220, 0) 90%); /* W3C */
    
}

.nType2 .colorStripe{
    background: -moz-linear-gradient(top, rgb(154, 220, 217) 0%, rgba(154, 220, 217, 0) 90%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(154, 220, 217, 1)), color-stop(90%,rgba(154, 220, 217, 0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(154, 220, 217, 1) 0%,rgba(154, 220, 217, 0) 90%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(154, 220, 217, 1) 0%,rgba(154, 220, 217, 0) 90%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(154, 220, 217, 1) 0%,rgba(154, 220, 217, 0) 90%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(154, 220, 217, 1) 0%,rgba(154, 220, 217, 0) 90%); /* W3C */
}

.nType2, .nType2 .colorStripe {
    border-bottom-right-radius: 20px;
}

.nType3 {
   border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    background-color: rgb(206, 231, 218);
}

.nType4 {
    background-color: rgb(172, 209, 214)
}

.nClone {
    background-color: rgba(255, 255, 255, .7);
    border: 3px dashed black;
    box-shadow: none;
}

.nClone .colorStripe {
    background: none;
}

.altParents {
    display: none;
    position: absolute;
    left: -25px;
    top: 5px;
}

.focusedNode .altParents {
    display: block;
}

.altParent {
    cursor: pointer;
    position: relative;
}

.altParent .ui-icon {
    text-indent: 0;
    overflow: initial;
    width: 16px;
    height: 16px;
    border-radius: 10px;
    border: 2px solid gray;
    opacity: .7;
    background-color: rgb(243, 243, 243);
    position: relative;
    z-index: 5;
}

.altParent:hover .ui-icon {
    opacity: 1;
}

.altParent:hover .parentTip {
    display: block;
}

.parentTip {
    position: absolute;
    left: 12px;
    top: -1px;
    background-color: rgb(229, 229, 229);
    border: 2px solid gray;
    border-radius: 5px;
    min-width: 300px;
    display: none;
    text-align: left;
    padding-left: 10px;
    box-shadow: 4px 4px 5px gray;
    z-index: 4;
}

.parentTip p {
    margin: 0;
}

#nodeBody {
    background-color: whitesmoke;
    max-width: 800px;
    padding: 5px;
    margin-top: 5px;
    border-radius: 8px;
}